
import request from '@/api/request'

export function addressList() {
  return request({
    url: '/lejuAdmin/companyAddress/addressList'
  })
}
export function saveAddress(data) {
  return request({
    url: '/lejuAdmin/companyAddress/save',
    method: 'post',
    data
  })
}
export function setReceiveOne(data) {
  return request({
    url: '/lejuAdmin/companyAddress/setReceiveOne',
    method: 'post',
    data
  })
}
export function companyAddress(id) {
  return request({
    url: `/lejuAdmin/companyAddress/${id}`
  })
}
export function updateAddress(data) {
  return request({
    url: `/lejuAdmin/companyAddress/update`,
    method: 'post',
    data
  })
}

